import request from '/@/utils/request'

/**
 * 分页查询岗位
 * @param data 
 * @returns 
 */
export const postPage = (data: any) =>{
  return request.post('/sys/post/page',data)
}
/**
 * 岗位详情
 * @param data 
 * @returns 
 */
export const postDetail = (data: any) =>{
  return request.post('/sys/post/detail',data)
}
/**
 * 添加岗位
 * @param data 
 * @returns 
 */
export const postSave = (data: any) =>{
  return request.post('/sys/post/save',data)
}
/**
 * 修改岗位
 * @param data 
 * @returns 
 */
export const postUpdate = (data: any) =>{
  return request.post('/sys/post/update',data)
}